﻿@page "/datagrid-save-settings-loaddata"

<RadzenText TextStyle="TextStyle.H2" TagName="TagName.H1" class="rz-pt-8">
    DataGrid <strong>save settings</strong> using LoadData binding
</RadzenText>
<RadzenText TextStyle="TextStyle.Subtitle1" TagName="TagName.P" class="rz-pb-4">
    Persist and reload grid settings (columns, sort, filters) with server-side data binding.
</RadzenText>

<RadzenText TextStyle="TextStyle.Subtitle2" TagName="TagName.P" class="rz-pb-4">
    In this demo settings are saved to localStorage with <code>LoadData</code> binding, the <code>LoadSettings</code> event restores state on initialization, <strong>Order ship city</strong> and <strong>ShipPostalCode</strong> columns filter on nested Orders collections, and LoadData events are logged to the console with a 2-second simulated delay.
</RadzenText>

<RadzenExample ComponentName="DataGrid" Example="DataGridSaveSettingsLoadData">
    <DataGridSaveSettingsLoadData />
</RadzenExample>
